AppBuilder\Di\Service\Integration\TranslatepressIntegration A

Total Complexity 52
Dependencies 2
Dependents 0
Total lines 370
Lines of code 198
Logical lines of code 126
Comment lines 112
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
trp_prepare_product_object()
B
39 20 67
trp_prepare_post_object()
S
54 7 24
is_rest()
S
57 6 16
trp_gp_get_lang_from_get()
S
56 5 18
app_builder_prepare_settings_data()
S
50 4 30
rest_api_init()
S
58 2 14
trp_gp_is_tp_active()
S
70 2 7
register_hooks()
S
74 1 4
trp_prepare_product_category_name()
S
79 1 3
trp_prepare_product_option_object()
S
75 1 4
trp_prepare_product_attribute_object()
S
74 1 4
trp_prepare_product_attribute_text()
S
79 1 3
woocommerce_product_get_name()
S
75 1 4